package com.zz.parkingsystem.service.impl;

import com.zz.parkingsystem.entity.RevenueCount;
import com.zz.parkingsystem.mapper.RevenueCountMapper;
import com.zz.parkingsystem.service.RevenueCountService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Auther: BAISIHANG
 * @Date: 2022/9/6 - 09 - 06 - 11:50
 * @Description: com.zz.parkingsystem.service.impl
 * @version: 1.0
 */
@Service
public class RevenueCountServiceImpl implements RevenueCountService {
    @Resource
    private RevenueCountMapper RevenueCountMapper;
    @Override
    public int insertSelective(RevenueCount record) {
        return RevenueCountMapper.insertSelective(record);
    }

    @Override
    public List<RevenueCount> getselAll() {
        return RevenueCountMapper.selAll();
    }
}
